<template>
  <div class="main">
    <img src="../assets/logo.png" />
    Main home
  </div>
</template>

<script>
import actions from '@/actions'
export default {
  created() {
    localStorage.setItem("token", "binear 212321")
    actions.setGlobalState({
      username: 'river james',
      email: '3212121@2121.com'
    })
  }
}
</script>

<style>
  .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    color: #333;
  }
</style>